<template>
    <el-dialog title="人员详情" :visible.sync="value" :before-close="close">
        <div class=" box">
            <span>人员名称：运营小明</span>
            <span>角色：运营员</span>
            <span>联系电话：13100672555</span>
            <br><br>
            <span>负责区域：敬老院</span>
        </div>
        <el-table :data="gridData" :header-cell-style="headClass" border>
            <el-table-column property="date" label="" width="127"></el-table-column>
            <el-table-column property="name" label="总工单数" width="150"></el-table-column>
            <el-table-column property="name" label="拒绝工单" width="150"></el-table-column>
            <el-table-column property="name" label="完成工单" width="150"></el-table-column>
            <el-table-column property="name" label="进行中工单" width="150"></el-table-column>
        </el-table>
    </el-dialog>
</template>

<script>

export default {
    name: '',
    props: {
        value: {
            typeof: Boolean
        }
    },
    data() {
        return {
            gridData: [{
                date: '本周',
                name: '0',
            },
            {
                date: '本月',
                name: '0',
            },
            {
                date: '本年',
                name: '0',
            },]
        }
    },
    methods: {
        close() {
            this.$emit('input', false)
        },
        headClass() {
            return 'background:#f3f6fb;color:#7d6666;font-weight:400;'
        },
    }
}
</script>

<style lang='scss' scoped>
* {
    padding: 0;
    margin: 0;
}

.box {
    background-color: #f3f6fb;
    height: 100px;
    padding: 30px;
    margin-bottom: 20px;

    span {
        margin-right: 100px;
    }
}
</style>